<!doctype html>
<title>文本分类系统</title>

<style>
    .button {
        background-color: #4CAF50; /* Green */
        border: none;
        color: white;
        padding: 15px 32px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
    }
</style>

<body style="margin: 25px;">

<div>

    <h1>请输入文本</h1>

    <form action="/" method="post">

        <textarea name="text" style="width: 100% ; height: 100px;">{{text}}</textarea>

        <button type="submit" value="Submit" class="btn button">submit</button>

    </form>

    <div>
        <h1>预测分类： {{ type }} </h1>
    </div>

</div>
</body>
